package net.xepherx.ytdl;

import java.awt.GridBagConstraints;
import java.awt.Insets;

public class GridBagConstraintsFactory {
	static GridBagConstraints videoPanelConstraints(int GridY){
		
		GridBagConstraints c = new GridBagConstraints();
		c.anchor = GridBagConstraints.NORTH;
		c.fill = GridBagConstraints.HORIZONTAL;
		c.weightx = 0.1;
		c.gridx = 0;
		c.gridy = 100000 - GridY;
		c.insets = new Insets(0,0,0,0);
		
		return c;
		
	}
}
